﻿using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;

namespace TennisSite.FieldTypes
{
    public class FullNameFieldType : SPFieldText
    {
        public FullNameFieldType(SPFieldCollection fields, string fieldName)
            : base(fields, fieldName)
        {

        }

        public FullNameFieldType(SPFieldCollection fields, string typeName, string displayName)
            : base(fields, typeName, displayName)
        {

        }

        //public override BaseFieldControl FieldRenderingControl
        //{
        //    get
        //    {
        //        FullNameFieldControl control = new FullNameFieldControl();
        //        control.FieldName = this.InternalName;

        //        return this.FieldRenderingControl;
        //    }
        //}
    }
}